<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单控件</title>
</head>
<body>
<form>

    文本:<input type="text" name="username"><br>
    密码:<input type="password" name="password"><br>
    二选一:<input type="radio">男
          <input type="radio">女<br>
    多选:<input type="checkbox">抽烟
        <input type="checkbox">喝酒
        <input type="checkbox">唱歌<br>
    日期:<input type="date" value="2022-2-3"><br>
    文件:<input type="file"><br>
    清空表单:<input type="reset"><br>
    提交表单:<input type="submit"><br>
</form>

<!--下拉框标签-->
<form>
    <select name="area">
        <option value="1" >河南</option>
        <option value="2" selected="selected">上海</option>
        <option value="3">江苏</option>
    </select>
    <textarea name="self" rows="10" cols="30" maxlength="5"></textarea>
    <input type="submit">
</form>
</body>
</html>